package com.ruoyi.chargepile.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.chargepile.domain.ChargeRecords;
import com.ruoyi.chargepile.domain.dto.ChargeRecordsAddDto;
import com.ruoyi.chargepile.domain.dto.ChargeRecordsDto;
import com.ruoyi.chargepile.domain.vo.ChargeRecordsVo;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.util.DateRange;
import com.ruoyi.util.Pages;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 * 充电记录表 服务类
 * </p>
 *
 * @author zxc
 * @since 2024-07-03
 */
public interface ChargeRecordsService extends IService<ChargeRecords> {

    public List<ChargeRecordsVo> listChargeRecordsVo(Pages pages, DateRange dateRange, DateRange dateRangePay, ChargeRecordsDto chargeRecordsDto);

    public AjaxResult addChargeRecords(@RequestBody ChargeRecordsAddDto chargeRecordsAddDto);

}
